home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / commoditys / sunwindow / reqtools / install / install reqtools next >
Text File  |  1996-04-07  |  2KB  |  72 lines

  1.  
  2. ; Install script for ReqTools (Workbench 2.0)
  3.  
  4. (set @default-dest "")
  5.  
  6. (set reqtoolslib "/libs20/reqtools.library")
  7. (set rtpatch "/RTPatch/RTPatch")
  8.  
  9. ;=============================================================================
  10. ; English strings
  11.  
  12. (set #bad-kick
  13. (cat "You must be using Kickstart 2.04 to install using this script."
  14.       " Double-click the 'Workbench_1.2-1.3' icon to install ReqTools on"
  15.       " Kickstart 1.2 or 1.3 machines."
  16. ))
  17.  
  18. (set #copying-reqtools "Copying reqtools.library to Libs:...")
  19. (set #copying-rtpatch  "Copying RTPatch...")
  20.  
  21. (set #install-msg
  22. (cat "\n\nReqTools installation script.\n"
  23.      "This script installs ReqTools library on your Amiga.\n\n"
  24.      "Read the DISTRIBUTION file for\n"
  25.      "more information on the distribution\n"
  26.      "and commercial usage of ReqTools.\n\n"
  27.      "ReqTools © 1991-1993 Nico François\n"
  28.      "All rights reserved."
  29. ))
  30.  
  31. ;=============================================================================
  32. ; make sure we are running under a 2.04 ROM
  33.  
  34. (if (< (/ (getversion) 65536) 37)
  35. (
  36.     (abort #bad-kick)
  37. ))
  38.  
  39. ;=============================================================================
  40.  
  41. (message #install-msg)
  42.  
  43. (copylib
  44.     (prompt "\n" #copying-reqtools)
  45.     (help @copylib-help)
  46.     (source reqtoolslib)
  47.     (dest "Libs:")
  48.     (confirm)
  49. )
  50.  
  51. (if (exists "C:RTPatch")
  52. (
  53.     (copylib
  54.         (prompt "\n" #copying-rtpatch)
  55.         (help @copylib-help)
  56.         (source rtpatch)
  57.         (dest "C:")
  58.         (confirm)
  59.     )
  60. ))
  61.  
  62. (if (exists "SYS:WbStartup/RTPatch")
  63. (
  64.     (copylib
  65.         (prompt "\n" #copying-rtpatch)
  66.         (help @copylib-help)
  67.         (source rtpatch)
  68.         (dest "SYS:WbStartup")
  69.         (confirm)
  70.     )
  71. ))
  72.